package com.gzy.blog.blog.dao;

import java.util.List;

import com.gzy.blog.blog.entity.Category;
import com.gzy.blog.common.PageModel;

public interface CategoryDao {

	List<Category> listCategorySelf(Integer userId);

	PageModel<Category> pageCategory(int pageNo, int pageSize);

	void add(Category category);

	void delete(Integer id);
}
